virtualisation.oci-containers.containers.<name>.labels

Labels to attach to the container at runtime.

Type
attribute set of string
Default
{ }
Example
{
  "traefik.https.routers.example.rule" = "Host(`example.container`)";
}
Declared
<nixpkgs/nixos/modules/virtualisation/oci-containers.nix>